<style>
	.btn.btn-success {
		background: #6499fa;
	}
</style>
<div class='fui-page fui-page-current'>
    <div class="fui-header">
		<div class="fui-header-left">
			<a class="back" ng-click="goback()"></a>
		</div>
		<div class="title">实名认证</div> 
		<div class="fui-header-right">&nbsp;</div>
    </div>
    <div class="fui-content">
		<div class="c" style="background:#6499fa;padding-bottom:1rem;border-bottom-right-radius:5rem;border-bottom-left-radius:5rem;">
			<div class="c">
				<img style="width:60%" ng-src="{{tomedia(pagedata.basic.backimage) || '../addons/jy_faceid/image/renz.png'}}" />
			</div>
			<div class="c" style="margin-top:-1rem;font-size:0.7rem">
				<p class="c" style="color:#fff">{{pagedata.account.title}}承诺身份信息仅限购物流程使用，</p>
				<p class="c" style="color:#fff">不会向任何人泄露用户个人信息。</p>
			</div>
		</div>
		<div style="padding:0.5rem">
		<div class="tips tips-yellow" style="margin:0">
			<i class="fa fa-bullhorn"></i> [<red>{{pagedata.item.nickname}}</red>]：{{pagedata.tips}}
		</div>
		<div class='fui-cell-group' ng-if="pagedata.item.isrealname!=1">
			<div class="fui-cell">
                <div class="fui-cell-label">真实姓名</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="真实姓名" ng-model="pagedata.item.realname"/></div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">身份证号码</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="身份证号码" ng-model="pagedata.item.cardnum"/></div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">身份证人像面</div>
                <div class="fui-cell-info">
                    <div class="fui-list jump">
						<a class="fui-list-media" ng-if="pagedata.item.cardimg1">
						<img class="round" src="{{tomedia(pagedata.item.cardimg1) || '../core/resource/images/nopic.jpg'}}" />
						</a>
						<a class="fui-list-media weui_uploader_input_wrp">
						<input class="weui_uploader_input" ng-click="image(pagedata.item,'cardimg1')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple="">
						</a>
					</div>
				</div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">身份证国徽面</div>
                <div class="fui-cell-info">
                    <div class="fui-list jump">
						<a class="fui-list-media" ng-if="pagedata.item.cardimg2">
						<img class="round" src="{{tomedia(pagedata.item.cardimg2) || '../core/resource/images/nopic.jpg'}}" />
						</a>
						<a class="fui-list-media weui_uploader_input_wrp">
						<input class="weui_uploader_input" ng-click="image(pagedata.item,'cardimg2')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple="">
						</a>
					</div>
				</div>
            </div>
		</div>
		<div class='fui-cell-group' ng-if="pagedata.item.isrealname==1">
			<div class="fui-cell">
                <div class="fui-cell-label">真实姓名</div>
                <div class="fui-cell-info">{{pagedata.item.realname}}</div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">身份证号码</div>
                <div class="fui-cell-info">{{pagedata.item.cardnum}}</div>
            </div>
		</div>
		</div>
		<a ng-if="pagedata.item.isrealname!=1" href="javascript:;" class='btn btn-success block' style="line-height: 2.6;" ng-click="post(pagedata.item,'jy_faceid/index/post/')">确认提交</a>
		<a ng-if="pagedata.item.isrealname==1" href="javascript:;" class='btn btn-success block' style="line-height: 2.6;" ng-click="pagedata.item.isrealname=0">我要修改</a>
	</div>
</div>